package com.freeman.cement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("camera_square")
/**
 * 视频九宫格
 */
public class CameraSquare {

    /**
     * 这里使用的都是cameraIndexCode
     */

    //数据表中的主键
    //mybatis-plus使用自增长id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String p1;
    private String p2;
    private String p3;
    private String p4;
    //cameraIndexCode p5是中间摄像头
    private String p5;
    private String p6;
    private String p7;
    private String p8;
    private String p9;
}
